package com.jic.market.api.manage;

import com.jic.common.base.vo.RestResult;
import com.jic.market.request.PromotionGiftItemBatchRequest;
import com.jic.market.request.PromotionGiftItemRequest;
import com.jic.market.response.PageResponse;
import com.jic.market.response.PromotionGiftItemResponse;
import java.util.List;

/**
 * description: PromotionGiftItemApi
 * date: 2020/3/2 14:29
 * author: wangys
 * version: 1.0
 */
public interface PromotionGiftItemApi {
    RestResult<PageResponse<PromotionGiftItemResponse>> listByPage( PromotionGiftItemRequest request);

    RestResult<Integer> saveBatch(PromotionGiftItemBatchRequest request);

    RestResult<Integer> deleteBatch(PromotionGiftItemBatchRequest request);

    RestResult<Integer> deleteById(PromotionGiftItemRequest id);

    RestResult<List<PromotionGiftItemResponse>> findAll(PromotionGiftItemRequest request);

    RestResult<PromotionGiftItemResponse> detail(PromotionGiftItemRequest request);
}
